﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFController;
namespace HFWebApp.Control
{
    public partial class c_Source : System.Web.UI.UserControl
    {
        public int SourceID { get; set; }
        public int Count { get; set; }
        public int CuteStrCount { get; set; }
        public BagePages bg = new BagePages();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                source_list.DataSource = SourceController.getController().getSourceList(SourceID, Count);
                source_list.DataBind();
            }
        }
    }
}